package pers.zh.parking.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import pers.zh.parking.di.module.NoticeManageModule;
import pers.zh.parking.mvp.contract.NoticeManageContract;

import com.jess.arms.di.scope.ActivityScope;

import pers.zh.parking.mvp.ui.activity.NoticeManageActivity;

@ActivityScope
@Component(modules = NoticeManageModule.class, dependencies = AppComponent.class)
public interface NoticeManageComponent {

    void inject(NoticeManageActivity activity);

    @Component.Builder
    interface Builder {

        @BindsInstance
        NoticeManageComponent.Builder view(NoticeManageContract.View view);

        NoticeManageComponent.Builder appComponent(AppComponent appComponent);

        NoticeManageComponent build();
    }
}